package com.yygo.dao;

import com.yygo.model.LoanPerson;
import com.yygo.model.LoanRequest;

import java.util.List;
import java.util.Set;

/**
 * Created by tiansha on 2015/7/8.
 */
public interface LoanPersonDao extends GenericDao<LoanPerson, Long> {

    Set<Long> findByIdNo(LoanRequest loanRequest);
    Set<Long> findByIdentity(LoanRequest loanRequest, int days);
    Set<Long> findByProperty(LoanRequest loanRequest, String property, int days);

    Set<Long> findByAddress(LoanRequest loanRequest, int days);
    Set<Long> findByCompanyAddress(LoanRequest loanRequest, int days);

    Set<Long> findByUrgentNo(LoanRequest loanRequest, int days);

}
